package proj.pt.model;


public class SubCourse extends PersistentImpl{

	private String subCourseId;
	private String description;
	
	public SubCourse(){
		referenceId = "" + System.currentTimeMillis();
	}
	
	public String getSubCourseId() {
		return subCourseId;
	}
	public void setSubCourseId(String subCourseId) {
		this.subCourseId = subCourseId;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}	
	
	// This is a temporary variable and its not kept in xml file,
	// since we don't want this in Database table as a column.
	private String referenceId; 
	public String getReferenceId() {
		return referenceId;
	}
	
	private Course course;

	public Course getCourse() {
		return course;
	}

	public void setCourse(Course course) {
		this.course = course;
	}

	public void setReferenceId(String referenceId) {
		this.referenceId = referenceId;
	}
	
	
}
